Felbook.Models.Image.CreateImage C# (CSharp) Method

CreateImage() public static method

Create a new Image object.
public static CreateImage ( global id, global description ) : Image
id global Initial value of the Id property.
description global Initial value of the Description property.
return Image
        public static Image CreateImage(global::System.Int32 id, global::System.String description)
        {
            Image image = new Image();
            image.Id = id;
            image.Description = description;
            return image;
        }