public async Task <AssignmentModel> GetAssignment(int AssignmentID) { var Param = new SqlParameter[] { new SqlParameter("@AssignmentID", AssignmentID) }; AssignmentModel assigment = await _AssignmentRepository.ExecSPToSingleAsync("bn_RecDB_GetAssignment @AssignmentID", Param); return(assigment); }