namespace Big.Lito.Data.BusinessService
{
using System.Data;
using Big.Lito.Data.DataAccess;
using Big.Lito.Data.DataModel;
public class SystemSettingsService : ISystemSettingsService
{
///
/// interface of ProjectSQL
///
private ISystemSettingsSQL systemSettingsSQL;
///
/// Initializes a new instance of the ProjectService class
///
public SystemSettingsService()
{
this.systemSettingsSQL = new SystemSettingsSQL();
}
///
/// Service method to get project by Id
///
/// project id
/// Data row
public DataRow GetSystemSettingsByProjectId(int id)
{
return this.systemSettingsSQL.GetSystemSettingsByProjectId(id);
}
///
/// Service method to get project by name
///
/// project name
/// Data row
public DataRow GetSystemSettingsByProjectName(string name)
{
return this.systemSettingsSQL.GetSystemSettingsByProjectName(name);
}
///
/// Service method to update club member
///
/// club member
/// true / false
public bool UpdateProject(SystemSettingsModel systemSettingsModel)
{
return this.systemSettingsSQL.UpdateProject(systemSettingsModel); //UpdateProject(project);
}
}
}