public static AireModel ToModel(this Aire dto) { AireModel result = new AireModel(); result.Id = dto.Id; result.CoupeId = dto.CoupeId; result.Description = dto.Description; result.NetClientId = dto.NetClientId; if (dto.Epreuves != null && dto.Epreuves.Count() > 0) { result.EpreuveId = dto.Epreuves.FirstOrDefault().Id.ToString(); } else { result.EpreuveId = string.Empty; } return(result); }
public bool Delete(Aire entity) { throw new NotImplementedException(); }
public bool Insert(Aire entity) { throw new NotImplementedException(); }