public static General_Info ToGeneral_Info(this DomainGeneral @this) { return(new General_Info { Id = @this.Id, Name = @this.Name, Surname = @this.Surname }); }
public void Create(DomainGeneral Item) { _studentRepository.Students.Create(Item.ToGeneral_Info()); }
public void Create_Student([FromBody] DomainGeneral value) { students.Create(value); }