namespace Big.Lito.Data.BusinessService { using System.Data; using Big.Lito.Data.DataAccess; using Big.Lito.Data.DataModel; public class HeightmapService : IHeightmapService { /// /// interface of ProjectSQL /// private IHeightmapSQL heightmapSQL; /// /// Initializes a new instance of the ProjectService class /// public HeightmapService() { this.heightmapSQL = new HeightmapSQL(); } /// /// Service method to get project by Id /// /// project id /// Data row public DataRow GetHeightmapByProjectId(int id) { return this.heightmapSQL.GetHeightmapByProjectId(id); } /// /// Service method to get project by name /// /// project name /// Data row public DataRow GetHeightmapByProjectName(string name) { return this.heightmapSQL.GetHeightmapByProjectName(name); } /// /// Service method to update club member /// /// club member /// true / false public bool UpdateProject(HeightmapModel heightmapModel) { return this.heightmapSQL.UpdateProject(heightmapModel); //UpdateProject(project); } } }