public async Task <ResultPT> PutAsync(int id, [FromBody] Profile_MasterDTO value) { ResultPT result = null; if (ModelState.IsValid) { using (Profile_MasterBAL profile_MasterBAL = new Profile_MasterBAL()) { result = await profile_MasterBAL.UpdateAsync(value); } } return(result); }