bool InterfaceLandScape.AddLandScape(LandScape landScape) { LandScapeAPI landScapeAPI = new LandScapeAPI(); landScapeAPI.AddLandScape(landScape); return(true); }
List <string> InterfaceLandScape.GetLandScapesName() { LandScapeAPI landScapeAPI = new LandScapeAPI(); return(landScapeAPI.GetLandScapeName()); }
LandScape InterfaceLandScape.GetLandScapeByName(string Name) { LandScapeAPI landScapeAPI = new LandScapeAPI(); return(landScapeAPI.GetLandScapeByName(Name)); }
bool InterfaceLandScape.DeleteLandScape(int id) { LandScapeAPI landScapeAPI = new LandScapeAPI(); return(landScapeAPI.DeleteLandScape(id)); }
public LandScape GetLandScapeById(int id) { LandScapeAPI landScapeAPI = new LandScapeAPI(); return(landScapeAPI.GetLandScapeById(id)); }
public List <LandScape> GetLandScapes() { LandScapeAPI landScapeAPI = new LandScapeAPI(); return(landScapeAPI.GetLandScapes()); }
int InterfaceLandScape.GetLandScapeIdByName(string name) { LandScapeAPI landScapeAPI = new LandScapeAPI(); return(landScapeAPI.GetIdByName(name)); }
bool InterfaceLandScape.UpdateLandScape(LandScape landScape) { LandScapeAPI landScapeAPI = new LandScapeAPI(); return(landScapeAPI.UpdateLandScape(landScape.Id, landScape.LandScapeName, landScape.LandScapeDescription)); }