public UserPriceData Add(UserPriceData model)
 {
     throw new NotImplementedException();
 }
 public bool Edit(UserPriceData model)
 {
     throw new NotImplementedException();
 }
        public UserPriceData GetByCondition(UserPriceData model)
        {
            string sql = "Select * From UserPrices Where ProjectId = @ProjectId And Num = @Num And [Year] = @Year";

            return(db.Query <UserPriceData>(sql, model).SingleOrDefault());
        }