Felbook.Models.Image.CreateImage C# (CSharp) Méthode

CreateImage() public static méthode

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.
Résultat 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;
        }