public async Task <MessageReport> Update(SY_MenuFunction model) { var query = new StringBuilder(); query.AppendLine("{"); query.AppendLine("'_id': { '$eq': '" + model.Id + "' }"); query.AppendLine("}"); return(await _SY_MenuFunctionRepository.Update(MongoHelper.ConvertQueryStringToDocument(query.ToString()), model)); }
public async Task <MessageReport> Update(SY_MenuFunction model) { return(await _SY_MenuFunctionRepository.Update(model)); }